package com.whw.fy.service;

import com.whw.fy.entity.Comment;
import com.whw.fy.entity.Message;import java.util.List;

public interface CommentService {


    Message deleteByPrimaryKey(Integer commId);

    Message insert(Comment record);

    Message insertSelective(Comment record);

    Message selectByPrimaryKey(Integer commId, Integer userId);

    Message selectByPrimaryKeyForAdmin(Integer commId);

    Message updateByPrimaryKeySelective(Comment record);

    Message updateByPrimaryKey(Comment record);

    Message selectAll(Integer userId);

    Message selectAllForAdmin();

    Comment selectByPrimaryKey(Integer commId);

    int batchInsert(List<Comment> list);

    Message selectAllByAll(Comment comment);
}


